package com.example.domain;

import java.io.Serializable;

public class MenuItem implements Serializable {
	private int id;
	private int menuId;
	private String title;
	private String description;
	private String itemType;
	private double price;
	
	public MenuItem(int id, int menuId, String title, String description, String itemType, double price) {
		this.id = id;
		this.menuId = menuId;
		this.title = title;
		this.description = description;
		this.itemType = itemType;
		this.price = price;
	}
	public MenuItem (String tl, String ds, String iT){
		tl=title;
		ds=description;
		iT=itemType;
	}
	
	public int getId() { return id; }
	public int getMenuId() { return menuId; }
	public String getTitle() { return title; }
	public String getDescription() { return description; }
	public String getItemType() { return itemType; }
	public double getPrice() { return price; }
}
